//***************************************************************************
// Project:   MDT Wizard Studio
// File:      ChooseID.cs
// Purpose:   Display a simple dialog for specifying the pane ID.
//
// Version:   3.0.1
//
// Change history:
// 1.0.1  mniehaus  06/25/2008  Cleaned up and commented code for external
//                              release.
// 2.0.0  mniehaus  10/11/2009  Fixed FXCop warnings.
//
// 3.0.0  mkoster   11/21/2012  Updated for MDT 2012 Update 1. 
//
// 3.0.2  mkoster   01/11/2013  Renamed to MDT Wizard Studio
//***************************************************************************

using System;
using System.Windows.Forms;

namespace MDTWizardStudio
{
    /// <summary>
    /// The ChooseId form is used to let the user specify an ID for a new wizard pane.
    /// </summary>
    public partial class ChooseId : Form
    {
        /// <summary>
        /// Constructor
        /// </summary>
        public ChooseId()
        {
            InitializeComponent();
        }

        /// <summary>
        /// The PaneId property is used to retrieve the pane ID that the user specified.
        /// </summary>
        public String PaneId
        {
            get { return txtPaneId.Text; }
            set { txtPaneId.Text = value; }
        }

        /// <summary>
        /// The PaneIDEnabled property is used to enable or disable the PaneID textbox.
        /// </summary>
        public  bool PaneIDEnabled
        {
            get { return txtPaneId.Enabled; }
            set { txtPaneId.Enabled = value; }
        }


        /// <summary>
        /// The Filename property is used to retrieve the filename that the user specified.
        /// </summary>
        public String Filename
        {
            get { return txtFilename.Text; }
            set { txtFilename.Text = value; }

        }

        /// <summary>
        /// The FilenameEnabled property is used to enable or disable the filename textbox.
        /// </summary>
        public bool FilenameEnabled
        {
            get { return txtFilename.Enabled; }
            set { txtFilename.Enabled = value; }
        }
    }
}